.content{
    background: #F9FAFA;
    padding: 20px 0 50px;
}
.top {
    height: 60px;
    background: #fff;
}
.w {
    width: 1080px;
    margin: auto;
}
  
.topbar {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    a{
        font-size: 14px;
        line-height: 60px;
        text-align: center;
        color: #222;
        font-family: "Century Gothic",PingFang-SC,"Hiragino Sans GB","微软雅黑","Microsoft YaHei","Heiti SC",sans-serif;
    }
    .topbar_left {
        display: flex;
        align-items: center;
        img{
            width: 120px;
            height: 50px;
        }
        ul {
        display: flex;
        align-items: center;
        padding-left: 40px;
        li {
            padding: 0 20px;
            &:hover{
                background-color: #E21A47;
                a{color: #fff;}
            }
        }
        }
    }
    .topbar_right {
        display: flex;
        align-items: center;
        img{
            width: 15px;
            height: 15px;
            margin-right: 5px;
        }
        p {
            padding: 0 20px;
            display: flex;
            align-items: center;
        }
    }
}

// 选择区域
.choose-box{
    position: relative;
    width: 955px;
    height: 100px;
    box-shadow:0 5px 15px rgba(22,22,22,.1);
    box-sizing: border-box;
    padding: 20px 60px 20px 40px;
    display: flex;
    .row{
        position: relative;
        width: 150px;
        color: #999;
        margin-right: 62px;
        .title{
            font-size: 14px;
            line-height: 20px;
        }
        .choose-btn{
            font-size: 20px;
            line-height: 40px;
            height: 40px;
            border: none;
            background: 0 0;
            padding-right: 25px;
            font-weight: 700;
            img{
                position: absolute;
                bottom: 10px;
                right: 0;
                margin-top: -2px;
                vertical-align: middle;
            }
        }
    }
}
.search-btn{
    position: absolute;
    top: 20px;
    margin: auto 0;
    right: -130px;
    width: 190px;
    height: 60px;
    background-color: #e21a47;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

// 产品展示
.product-display{
    margin-top: 30px;
    .title{
        font-size: 24px;
        padding: 20px 0;
    }
}
// 海滨度假
.beach-resort{
    .product-content{
        display: flex;
        justify-content: space-between;
        .row{
            position: relative;
            background: #fff;
            cursor: pointer;
            width: 350px;
            margin-bottom: 20px;
            border-radius: 4px;
            overflow: hidden;
            &:hover{
                .img-box .main-figure{
                    transform: scale(1.1);
                }
                .villa-booking-btn{
                    bottom: 0;
                }
            }
            .img-box{
                height: 252px;
                position: relative;
                overflow: hidden;
                display: flex;
                justify-content: center;
                .main-figure{
                    height: 252px;
                    transition: 1s;
                }
                .label{
                    position: absolute;
                    top: 10px;
                    left: 0;
                    z-index: 9;
                    img{
                        width: 78px;
                        height: 26px;
                    }
                }
            }
            .row-content{
                padding: 20px 20px 0;
                .row-content-title{
                    font-size: 16px;
                    font-weight: 700;
                }
                .row-content-price{
                    padding: 15px 0 5px 0;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-bottom: 1px solid #e9ecf0;
                    .content-information{
                        display: flex;
                        align-items: center;
                        span{
                            font-size: 14px;
                            margin: 0 8px;
                        }
                    }
                    .content-price{
                        font-size: 18px;
                        font-family: "Century Gothic",PingFang-SC,"Hiragino Sans GB","微软雅黑","Microsoft YaHei","Heiti SC",sans-serif;
                        .f-font-24{
                            font-size: 24px;
                        }
                        .f-font-14{
                            font-size: 14px;
                            color: #999;
                        }
                    }
                }
                .row-content-villa{
                    padding: 19px 0;
                    display: flex;
                    justify-content: space-between;
                    .villa-left{
                        width: 200px;
                        display: -webkit-box;//对象作为弹性伸缩盒子模型显示
                        overflow: hidden;//溢出隐藏
                        -webkit-box-orient: vertical;//设置伸缩盒子对象的子元素的排列方式
                        -webkit-line-clamp: 1;//设置 块元素包含的文本行数
                        span{
                            font-size: 12px;
                            color: #cb9d7d;
                            font-family: "Century Gothic",PingFang-SC,"Hiragino Sans GB","微软雅黑","Microsoft YaHei","Heiti SC",sans-serif;
                        }
                    }
                    .villa-right{
                        font-size: 14px;
                    }
                }
            }
            // 按钮
            .villa-booking-btn{
                width: 100%;
                height: 60px;
                background: #E21A47;
                display: flex;
                font-size: 16px;
                color: #fff;
                justify-content: center;
                align-items: center;
                position: absolute;
                left: 0;
                bottom: -60px;
                transition: 0.5s;
                img{
                    margin-left: 10px;
                }
            }
        }
    }
    .operation{
        a{
            color: #cb9d7d;
            margin-right: 10px;
        }
    }
}

// 尾部
.m-page-footer{
    .m-table-box{
        display: flex;
        justify-content: space-between;
        padding: 25px 0 15px 0;
        border-bottom: 1px solid #e9ecf0;
        ul{
            margin-right: 120px;
            .code-title{
                text-align: center;
                font-size: 12px;
                color: #cb9d7d;
                line-height: 24px;
            }
            a{
                font-size: 14px;
                line-height: 28px;
                &:hover{
                    text-decoration: none;
                    color: #E21A47;
                }
            }
        }
        .code{
            flex: 0 0 auto;
            width: 90px;
            margin: 0;
        }
    }
    .m-copyright-box{
        display: flex;
        padding: 15px 0;
        line-height: 32px;
        font-size: 12px;
        color: #222;
        img{
            margin-right: 15px;
        }
    }
}